package com.health.ts.entity.patientview;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * 检验结果
 * </p>
 *
 * @author ts
 * @since 2017-09-15
 */
@TableName("st_test_result")
public class StTestResult extends Model<StTestResult> {

    private static final long serialVersionUID = 1L;

    @TableId
	private String id;
    /**
     * 住院号
     */
	@TableField("patient_id")
	private String patientId;
    /**
     * 类型 1 门诊 2 住院
     */
	@TableField("patient_type")
	private String patientType;
    /**
     * 检验单单号
     */
	@TableField("order_id")
	private String orderId;
    /**
     * 检验名
     */
	@TableField("order_name")
	private String orderName;
    /**
     * 执行科室
     */
	@TableField("execute_department")
	private String executeDepartment;
    /**
     * 项目
     */
	@TableField("check_item")
	private String checkItem;
    /**
     * 结果
     */
	private String result;
    /**
     * 单位
     */
	private String unit;
    /**
     * 参考范围
     */
	private String refrange;
    /**
     * 检验时间
     */
	@TableField("test_date")
	private Date testDate;
    /**
     * 标志 1 使用 2 标识
     */
	private String flag;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPatientId() {
		return patientId;
	}

	public void setPatientId(String patientId) {
		this.patientId = patientId;
	}

	public String getPatientType() {
		return patientType;
	}

	public void setPatientType(String patientType) {
		this.patientType = patientType;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getOrderName() {
		return orderName;
	}

	public void setOrderName(String orderName) {
		this.orderName = orderName;
	}

	public String getExecuteDepartment() {
		return executeDepartment;
	}

	public void setExecuteDepartment(String executeDepartment) {
		this.executeDepartment = executeDepartment;
	}

	public String getCheckItem() {
		return checkItem;
	}

	public void setCheckItem(String checkItem) {
		this.checkItem = checkItem;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getRefrange() {
		return refrange;
	}

	public void setRefrange(String refrange) {
		this.refrange = refrange;
	}

	public Date getTestDate() {
		return testDate;
	}

	public void setTestDate(Date testDate) {
		this.testDate = testDate;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}
}
